using System;
using System.Collections.Generic;
using System.Text;

namespace FanDongping.Stock
{
    public class DataUtils
    {
        public static TradeType ParseTradeType(string type)
        {
            if (type.Contains("BUY"))
            {
                return TradeType.BUY;
            }
            else
            {
                return TradeType.SELL;
            }

        }
    }

    public enum FormStatus
    {
        Add, Edit
    }
}
